package com.algorithm;

public class TestMainMonkey {

	public static void main(String[] args) {
		System.out.println(compute(1));
	}
	
	public static int compute(int day){
		if(day == 10){
			return 1;
		}
		
		return (compute(day+1) + 1) * 2;
	}

}
